Script Locator v1.1 - Created BY CyPliX


[Installation]

Unzip the file 'script_locator' into your mirc directory and type " /load -rs script_locator.mrc " in your mirc program.





[Overview]

For those scripters that tend to lose unloaded scripts. 

I decided to create this rather simple script after I got tired of having to find old scripts i unloaded from mirc a long time ago. 
Usually when I'm scripting or start a new script the immediate place the new script is saved is in the same directory as the last previous script you had open in your mirc editor. 
Than once I've finished with that script or mirc goes wacko and tend to lose the script, I forgot where i stored it and have to go through windows find just to find and clean out scripts I no longer need or lost ever time.

I'm sure people who tend to script allot can find this useful to some exstent.

;---------------------------------------------------------------
A couple of things though about the limitations of this script: 
;---------------------------------------------------------------
It will only scan your mirc directory and those directories/folders where your other 'loaded' scripts are stored. 
It will also only scan for files with the prefix of .mrc and .ini
It will only list those files that are not currently already loaded within your mirc program
The 'mirc editor' style window is not intended to be used to edit scripts as there is no save feature for alterations its only intended to view scripts. (not the entire script is viewed within the window) 
By deleting a script it is sent to your recycle bin in case you change your mind. 
'Moving' a file WILL move the file, not copy it. 
;-------------



[Instructions]

	-Scanning-

		Open the script locator dialog in your drop menu: Script Scanner>Open Dialog 
		Press the 'Scan' button.

	-Viewing-
		After you've preformed a scan, you have the option to view the script you select in the list of results. "Scripts:"
		Select a file on the left in the list box, and press the <View> button.
		A new dialog window will appear showing you the contents of that script.

	-Deleteing-
		Select a file once you've preformed a scan in the "Scripts:" list. You can do one of two things either delete the selected file by pressing the elete> button.
		Or you can choose to 'View' the script first by pressing the <View> button and delete the script from the preview window.
		In either case, when you do delete the file it will be sent directly to your recycle bin.

	-Loading-
		To load a selected script from the "Scripts:" list, preform a scan, select a script and press the <Load> button.
		A message in your active status window will confirm that the script has been loaded.

	-Moving-
		To move a script, firstly scan for scripts, Select a file from the "Scripts:" list, press the <View> button and press the <Move> button.
		Select a folder to which you wish to move the script to. The script location will be updated from within the "Scritps:" list.

	-Extra Info-
		You can view extra information regarding each file in the "Scripts:" list by its size, date created and last modified.

	-Closeing-
		To close the dialog, press the 'X' at the top right of the dialog.

	-Selecting Directory Scanning-
		Select the 'Dir' button on the dialog. Select the directory you wish to include in the scan. You can select multiple directories.

	-Intensive Scanning-
		This process increases the depth within a directory by including subfolders. The default is 500 sub-folders however this can be changed when prompted.
		To scan an entire Hard Drive you can simply select the drive letter and press OK, and then select a sub-folder depth.
		Warning! This process could potentially cause your Mirc/Computer to become unstable. Use at your own risk!!!!

Version History
;v1.1
;Fixed loadbuf error line 122. Now checks if slscan.txt file exists
;Added selective directory scanning, gives user the option of scanning their own directories.
;Added intensive directory scanning, gives the option to scan sub-directories